<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style type="text/css">
        *{
            margin: 0;
            padding: 0;
        }
        ul{
            width:240px;
            list-style-type: none;
        }
        ul li{
            height: 32px;
            background: #999999;
            margin-bottom: 1px;
            border-left: 12px solid #333333;

        }
        ul li a{
            display: block;
            height: 100%;
            color: white;
            text-decoration: none;
            line-height: 32px;
            padding-left: 8px ;
        }
    </style>
</head>
<body>
<ul>
    <li><a href="#">首页</a> </li>
    <li><a href="#">关于</a> </li>
    <li><a href="#">工程</a> </li>
    <li><a href="#">会员</a> </li>
    <li><a href="#">联系</a> </li>
</ul>
</body>
</html>